package com.fa4j.system.settings.model;

import com.fa4j.common.base.exception.RequestErrorType;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum DictError implements RequestErrorType {

    DICT_LEVEL_LIMIT(1, "该字典最大层级不能超过{0}层"),
    DICT_EXIST_CHILDREN(2, "该字典存在下级");

    private final Integer innerCode;
    private final String errMsg;
}
